package com.ndp.fb.walle.util;

import com.ndp.fb.walle.model.vo.user.result.MenuVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by elvisxiong on 8/11/15.
 */
public class MenuCacheUtils {

    private static Map<String,List<MenuVo>> menuCache = new HashMap<String,List<MenuVo>>();

    public static List<MenuVo> getMenuCache(String key){
        return  menuCache.get(key);
    }

    public static void setMenuCache(String key,List<MenuVo> menuVos){
        menuCache.put(key,menuVos);
    }
}
